<?php

include 'dbinfo.php'; 

function sql_login($username, $password)
{
	echo "Hello";

	$query = "
	select		*	
	from		Users 
	where		Email=$username and Password=$password
	";

	$result = mysql_query ($query)  or die(mysql_error());  

	if(mysql_num_rows($result) == 1)
	{ 
		return 1;
	}
	else
	{
		return 0;
	}
}


?>